package easyjava.hibernate.bean;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name="report")
@Entity
public class Report {
       private int id;
       private int score;
       private String description;
       private Date createDateTime;
       private int chooseCourseId;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreateDateTime() {
		return createDateTime;
	}
	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}
	public int getChooseCourseId() {
		return chooseCourseId;
	}
	public void setChooseCourseId(int chooseCourseId) {
		this.chooseCourseId = chooseCourseId;
	}
	@Override
	public String toString() {
		return "report [id=" + id + ", score=" + score + ", description=" + description + ", createDateTime="
				+ createDateTime + ", chooseCourseId=" + chooseCourseId + "]";
	}
       
}
